package com.wagn.config;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {"com.wagn"})//修改扫描规则
@SpringBootApplication
public class Com2Application {
    public static void main(String[] args) {
        SpringApplication.run(Com2Application.class,args);
    }
}
